<?php

class CFormInputFactory {
	/**
	 * 创建对应的input类，返回input
	 * Enter description here ...
	 * @param string $inputType
	 * @param object $model
	 * @param string $attribute
	 * @param array $parameters
	 */
	static public function input($inputType, $form, $model, $attribute, $parameters) {
		$inputObj = new $inputType;
		return $inputObj->createInput($form, $model, $attribute, $parameters);
	}
}

?>